package com.ruoyi.wms.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.excel.annotation.ExcelDictFormat;
import com.ruoyi.common.excel.convert.ExcelDictConvert;
import com.ruoyi.wms.domain.entity.employee.PMetricDetails;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 绩效记录视图对象 p_metric_details
 *
 * @author 邓滔滔
 * @date 2024-12-01
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = PMetricDetails.class)
public class PMetricDetailsVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ExcelProperty(value = "主键ID")
    private Long id;

    /**
     * 员工ID
     */
    @ExcelProperty(value = "员工ID")
    private Long employeeId;

    /**
     * 等级
     */
    @ExcelProperty(value = "等级", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "salay_level")
    private Long level;

    /**
     * 积分
     */
    @ExcelProperty(value = "积分")
    private BigDecimal points;


    /**
     * p项薪资
     */
    @ExcelProperty(value = "p项薪资")
    private BigDecimal pSalay;

    /**
     * 计算周期
     */
    @ExcelProperty(value = "计算周期")
    private Date calculationPeriod;

    /**
     * 修改时间
     */
    @ExcelProperty(value = "修改时间")
    private Date updateTime;

    /**
     * 修改人
     */
    @ExcelProperty(value = "修改人")
    private String updateBy;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remarks;


}
